<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
<head th:replace="common/competition-common :: common_head(~{::link},~{::script})">
    <meta charset="utf-8">
    <link rel="stylesheet" href="/styles/mall/index.css">
    <script src="/javascript/mall/index.js" type="text/javascript"></script>
</head>
<body>
<div th:replace="common/competition-common::mall-header"></div>
<div th:replace="common/competition-common::competition-sidebar"></div>
<div class="mall-body" style="margin-right: 50px">
    <div class="pagetitle">
        <h1>搜索结果</h1>
    </div>
    <section class="section">
        <div class="row align-items-top">
            <div class="col-lg-4" th:each="competitions:${competitionsDTOS}">
                <a th:href="${'/competition/competition-details?comId=' + competitions.getComid()}">
                    <div class= "card">
                        <img th:src="${competitions.getEventpictures()}" width="410" height="240"  class="goods-image"/>
                        <div class="card-body">
                            <h5 class="card-title" th:text="${competitions.getComname()}"></h5>
                            <p class="card-text" th:text="${competitions.getComprofile() }"></p >
                        </div>
                    </div>
                 </a>
            </div>

        </div>
    </section>
</div>
<div th:replace="common/competition-common::mall-footerWithoutsidebar"></div>
</body>
</html>